-
-
Notifications
You must be signed in to change notification settings - Fork 7k
SerialUpload: skip first sleep on MacOS Catalina #9303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Build completed. Please test this code using one of the following: ⬇️ http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-9303-BUILD-899-linux32.tar.xz ℹ️ The |
Just checked the following build with a Pro Micro on Catalina (10.15)
I could not upload any sketches. Still getting Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding etc. |
Hi, |
not worked Leonardo and Catalina Final Sketch uses 3956 bytes (13%) of program storage space. Maximum is 28672 bytes. avrdude: ser_recv(): read error: Device not configured avrdude: ser_send(): write error: Device not configured This report would have more information with |
Arduino: 1.8.11 (Mac OS X), Board: "Arduino Leonardo" Sketch uses 3956 bytes (13%) of program storage space. Maximum is 28672 bytes. avrdude: Version 6.3-20190619
Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding avrdude: ser_recv(): read error: Device not configured avrdude: ser_send(): write error: Device not configured avrdude done. Thank you. This report would have more information with |
Confirm, everything worked fine on mojave, but on catelina flashing with avrdude is broken now.
Device resets just fine and before reset it's /dev/cu.usbmodemC1 and after toggling reset with 1200bps touch it becomes /dev/cu.usbmodem14101 (same behaviour as on mojave or sierra or other os'es). But after this communication is broken and avrdude does not start writing the hex file. On Sierra, High Sierra and Mojave this issue was not present. It's clearly introduced after the Catelina upgrade on Mac OS (same .hex file, same flashing scripts...) . Temporary switching to linux or windows so that everything works again. f*ing apple is seriously losing it's coolness now that jobs is gone... I can however confirm using an arduino as an isp still works. So it's the leonardo bootloader itself 'Caterina' that's not getting along with 'Catalina' ;) |
Closing since this wasn't the actual problem. See #9290 (comment) for a working fix |
@facchinm your workaround and patch for caterina bootloader is much appreciated! |
From log analysis (I don't have a Mac with Catalina yet for testing in real life) is appears that:
Removing the first sleep after the touch could allow the IDE to recognize port disappearance .
Could fix #9290 and #8626
@gvarisco